package com.jinbiao.quasar.model;

import lombok.Data;
import org.sagacity.sqltoy.config.annotation.Column;
import org.sagacity.sqltoy.config.annotation.Entity;

import java.io.Serializable;
import java.sql.Types;

@Data
@Entity(tableName = "sys_dept_user")
public class SysDeptUser implements Serializable {
    @Column(name = "sys_dept_dept_code", type = Types.VARCHAR)
    private String deptCode;
    @Column(name = "sys_user_username", type = Types.VARCHAR)
    private String username;

    public SysDeptUser(String deptCode, String username) {
        this.deptCode = deptCode;
        this.username = username;
    }

    public SysDeptUser() {
    }
}
